package com.cdtye.shuoh.domain.tdengine;

import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
public class SelectDto {

    @NotBlank(message = "invalid operation: dataBaseName can not be empty")
    private String dataBaseName;

    @NotBlank(message = "invalid operation: tableName can not be empty")
    private String tableName;

//    @NotBlank(message = "invalid operation: fieldName can not be empty")
    private String fieldName;

//    @NotNull(message = "invalid operation: startTime can not be null")
    private String startTime;

//    @NotNull(message = "invalid operation: endTime can not be null")
    private String endTime;

    private int num;

}
